package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: Ding Ya Kun.
 * @Description: 声明式远程调用
 * @Date:Created in 2020.10.27 10:24
 */
//要调用的服务的名称
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    //全路径名
    @RequestMapping("/coupon/coupon/memberCoupon")
    public R memberCoupon();

}
